package cn.wanho.rvo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: FXP
 * @Date: 2022/08/09/10:57
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedisExamVO {

    /**
     * 学生id
     */
    private Integer userId;

    /**
     * 排序
     */
    private Integer sort;
    /**
     * 选题id
     */
    private Integer questionId;
    /**
     * 答题内容
     */
    private String answerContent;
    /**
     * 分数
     */
    private Integer score;

    public RedisExamVO(Integer userId, Integer sort, Integer questionId, String answerContent) {
        this.userId = userId;
        this.sort = sort;
        this.questionId = questionId;
        this.answerContent = answerContent;
    }
}
